//////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//  PlayerManagerViewController.h
//  PokerHandUp
//
//  Created by psvn047 on 6/11/12.
//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////

#import <UIKit/UIKit.h>
@protocol PlayerManagerDelegate;
////////////////////////////////////////////////////////////////////////////////////////////////////////////////
@interface PlayerManagerViewController : UIViewController
{
    IBOutlet UIView * myPlayer;
    IBOutlet UIView * rivalPlayer;
         id<PlayerManagerDelegate> playerManagerCallback;
}
@property(nonatomic, retain) UIView * myPlayer;
@property(nonatomic, retain) UIView * rivalPlayer;
@property(nonatomic,retain) id<PlayerManagerDelegate> playerManagerCallback;
-(void) playerAnimation;
-(void) updateInfo:(NSMutableDictionary*) data;
-(void) addMyPlayerAni:(long) money;
-(void) subMyPlayerAni:(long) money;
-(void) subRivalPlayerAni:(long) money;
-(void) addRivalPlayerAni:(long) money;
-(void) controlRivalPlayerAni:(NSString*) value;
-(void) updateMyDealer;
-(void) updateRivalDealer;
@end
////////////////////////////////////////////////////////////////////////////////////////////////////////////////
@protocol PlayerManagerDelegate <NSObject>
- (void)playerAnimationComplete;
@end
////////////////////////////////////////////////////////////////////////////////////////////////////////////////